import java.util.List;
import java.util.ArrayList;

import xyz.XYZLexer;





public class LexicalAnalysis {

	/**
	 * @param args
	 * @throws  
	 */
	public static void main(String[] args) {
		List<String> consoleOutput = new ArrayList<String>();
		int rval = XYZLexer.Lex("H:/se302_project/xyz_compiler/test/sample0.xyz", consoleOutput);
		System.out.println(rval);
		for (String s : consoleOutput)
			System.out.println(s);
	}

}
